<extend name="Public:base" />

<block name="head">
	<title></title>
</block>

<block name="body">
<p align="center">
	<h2>用户添加页</h2>
	<a href="index.html">用户主页</a>
</p>
<form action="edit" method="post">
	<input type="hidden" name="id" value="{$data.id}">
	<p>用户账号:<input type="text" name="username" value="{$data.username}"></p>
	<p>用户密码:<input type="text" name="password" value=""></p>
	<p>
		角色名称:
		<select name="role_id">
			<option value="0">请选择角色</option>
			<volist name="role" id="vo">
				<option value="{$vo.id}" <eq name="vo.id" value="$data.role_id">selected="selected"</eq>>{$vo.role_name}</option>
			</volist>
		</select>
	</p>
	<p>
		<input type="submit" value="提交">
		<input type="reset" value="重置">
	</p>
</form>
</block>